package com.cos.shop.common;

/**
 * Copyright (C),2021-2022,亚瑟王
 * FileName: ResponseCode
 * Author: saber
 * Date:2022/9/16 21:57
 */
public enum  ResponseCode {
    FAIL(0, "失败"),
    SUCCESS(1, "成功"),
    NOT_LOGIN(2, "未登录"),
    IS_LOGIN(4, "已登录");
    private int code;
    private String msg;

    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ResponseCode() {
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
} 
